home *** CD-ROM | disk | FTP | other *** search
/ Aminet 52 / Aminet 52 (2002)(GTI - Schatztruhe)[!][Dec 2002].iso / Aminet / util / moni / Scout-src.lha / source / scout_net.h < prev    next >
Encoding:
C/C++ Source or Header  |  2002-09-17  |  1.8 KB  |  79 lines

  1. /**
  2.  * Scout - The Amiga System Monitor
  3.  *
  4.  *------------------------------------------------------------------
  5.  *
  6.  * This program is free software; you can redistribute it and/or modify
  7.  * it under the terms of the GNU General Public License as published by
  8.  * the Free Software Foundation; either version 2 of the License, or
  9.  * any later version.
  10.  *
  11.  * This program is distributed in the hope that it will be useful,
  12.  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  13.  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  14.  * GNU General Public License for more details.
  15.  *
  16.  * You should have received a copy of the GNU General Public License
  17.  * along with this program; if not, write to the Free Software
  18.  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  19.  *
  20.  * You must not use this source code to gain profit of any kind!
  21.  *
  22.  *------------------------------------------------------------------
  23.  *
  24.  * @author Andreas Gelhausen
  25.  * @author Richard Körber <rkoerber@gmx.de>
  26.  */
  27.  
  28.  
  29. /* Prototypes for functions defined in
  30. scout_net.c
  31.  */
  32.  
  33. extern BOOL clientstate;
  34.  
  35. extern BOOL shellstate;
  36.  
  37. extern char username[11];
  38.  
  39. extern char password[129];
  40.  
  41. void failtcp( void );
  42.  
  43. int inittcp( void );
  44.  
  45. int sgets(int , char * , int );
  46.  
  47. void PrintNetHelp(void);
  48.  
  49. extern struct Net_Command net_list[85];
  50.  
  51. int SendDaemon( UBYTE * , ... );
  52.  
  53. BOOL ReceiveDecodedEntry( UBYTE *structure , ULONG length );
  54.  
  55. int ConnectToServer( void );
  56.  
  57. ULONG netshellclient( void );
  58.  
  59. int isNetCall( void );
  60.  
  61. int isCommand( char * , char * );
  62.  
  63. int SendClient(char * , ... );
  64.  
  65. BOOL SendEncodedEntry( UBYTE *structure , ULONG length );
  66.  
  67. long SendResultString( UBYTE * , ... );
  68.  
  69. void PrintFOneLine( BPTR hd, UBYTE *fmt, ... );
  70.  
  71. ULONG ExecuteCommand(char * );
  72.  
  73. ULONG netdaemon(void);
  74.  
  75. int MyDoCommand(char * , ...);
  76.  
  77. extern UBYTE *CMD_END;
  78.  
  79.